package c.x.jy.wexin.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import c.x.jy.common.utils.R;
import c.x.jy.service.utils.mqtt.MQClientUtil;

@RestController
@RequestMapping("wechat/mqttqurey")
public class MqttController {
	
	

    /**
     * 列表
     */
    @RequestMapping("/online")

    public R list(String clientid){

    	

        return R.put(MQClientUtil.queryDeviceStatus(clientid));
    }


}
